<!DOCTYPE html>
<html lang="zh-CN"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
    <title>云平台</title>
    <link rel="stylesheet" href="/tools/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/tools/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="/tools/mCustomScrollbar/jquery.mCustomScrollbar.min.css">
    <link rel="stylesheet" href="/css/comm.css">
    <!--[if lt IE 9]>
    <script src="/tools/html5shiv.min.js"></script>
    <script src="/tools/respond.min.js"></script>
    <script src="/tools/jquery/jquery-1.11.3.js"></script>

    <![endif]-->
    <!--[if gte IE 9]><!-->
    <script src="/tools/jquery/jquery-3.2.1.min.js"></script>
    <!--<![endif]-->
    <style>
        @media (max-width: 767px){
            #tabsBtn + .dropdown-menu {
                position: absolute;
                left: 0;
                border: 1px solid #ddd;
                background: #fff;
                -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
            }
        }
        .sm-st {
            -webkit-box-shadow: none;
            box-shadow: none;
        }

        .sm-st-info {
            font-size: 14px;
            padding-left: 15px;
            margin-top: 5px;
        }

        .showLeft, .showRight {
            font-size: 30px;
            display: inline-block;
            padding: 12px 10px;
            cursor: pointer;
            position: relative;
            top: 50%;
            transform: translate(0, 50%);
            float: right;
        }

        .showLeft:hover, .showRight:hover {
            color: #000;
            background: #eee;
        }

        .showRight_disabled, .showLeft_disabled {
            font-size: 30px;
            display: inline-block;
            padding: 12px 10px;
            cursor: pointer;
            color: #ccc;
            pointer-events: none;
            filter: alpha(opacity=50);
            -moz-opacity: 0.5;
            opacity: 0.5;
            position: relative;
            top: 50%;
            transform: translate(0, 50%);
            float: right;
        }

        .showLeft, .showLeft_disabled {
            float: left;
        }

        .showRight, .showRight_disabled {
            float: right;
        }

        .wave {
            width: 150px;
            height: 150px;
            overflow: hidden;
            border-radius: 50%;
            border: 1px solid #2f9dff;
            margin: 100px auto;
            position: relative;
            text-align: center;
            display: table-cell;
            vertical-align: middle;
        }
        .wave p {
            font-size: 16px;
            position: relative;
            z-index: 3;
        }
        .wave span {
            display: inline-block;
            color: #000;
            font-size: 20px;
            position: relative;
            z-index: 2;
        }

        .wave canvas {
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
        }
    </style>
</head>
<body class="body-bg">
<div class="wrapper clearfix" style="height: 100%">
    <!--左侧导航-->
    <nav class="navbar-static-side">
        <div class="nav-header nav-side-green"><span>云服务控制台</span></div>
        <ul class="nav" id="leftnav">
            <li th:each="resc,rescStat:${rescList}">
                <a href="javascript:;" th:if="${resc.list}==null" th:attr="src-title=${resc.name},src-data=${resc.uri}">
                    <i th:class="${resc.css}"></i>
                    <span th:text="${resc.name}"></span>
                </a>
                <a href="javascript:;" th:if="${resc.list}!=null" >
                    <i th:class="${resc.css}"></i>
                    <span th:text="${resc.name}"></span>
                    <span  th:if="${resc.list}!=null" class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level" th:if="${resc.list}!=null">
                    <li th:each="resc2 : ${resc.list}">
                        <a class="clike-me"  th:attr="src-title=${resc2.name},src-data=${resc2.uri}" th:text="${resc2.name}"></a>
                    </li>
                </ul>
            </li>
        </ul>
    </nav>
    <!--左侧导航-->
    <!--顶部导航-->
    <div class="wrapper-page">
        <div class="navbar navbar-fixed-top navbg-green">
            <div class="container-fluid" style="padding-left: 0;padding-right: 0">
                <!--导航条头部-->
                <ul class="nav navbar-nav navbar-left">
                    <li>
                        <a id="BarBtn"><i class="fa fa-bars"></i></a>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-left navbar-tabs">
                    <li class="active">
                        <a id="index" src-data="/sys/home">
                            主页
                        </a>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-left tabs-list hide">
                    <li>
                        <a id="tabsBtn" data-toggle="dropdown"><i class="fa fa-align-justify"></i><i class="fa fa-caret-down" style="margin-left: 3px;"></i></a>
                        <ul class="dropdown-menu">
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li><a src-title="邮箱" src-data="mail.html" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Tooltip on bottom"><i class="fa fa-bell-o"></i><span class="label label-danger">10</span></a></li>
                    <li class="dropdown">
                        <a href="#" data-toggle="dropdown"><img class="img-circle" src="/img/avatar.png" style="width: 25px;height: 25px;margin: -6px 5px 0 0"/>admin</a>
                        <ul class="dropdown-menu information">
                            <li><a src-title="修改密码" src-data="/sys/goPage?herf=/sys/modifyPwd">修改密码</a></li>
                            <li class="divider"></li>
                            <li><a href="#">退出</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <div class="wrapper-content" id="rightMain">
            <iframe src="/sys/home" width="100%" height="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto" allowtransparency="yes"></iframe>
        </div>
    </div>
    <!--顶部导航-->
</div>
<script src="/tools/jquery/jquery-3.2.1.min.js"></script>
<script src="/tools/bootstrap/js/bootstrap.min.js"></script>
<script src="/js/index.js"></script>
<script>
    $('#index').on("click",function () {
        $("#rightMain>.index").show().siblings().hide();
    });
</script>
</body>
</html>